/**
 * Copyright (c) 2018-2019 PoleStar Studio. All Rights Reserved. <br>
 * Use is subject to license terms.<br>
 * <p>
 * 在此处填写文件说明
 */
package edu.javaee.spring.zdemo.assemble_annotation;

import org.springframework.stereotype.Controller;

import javax.annotation.Resource;

/**
 * 填写功能简述.
 * <p>填写详细说明.<br>
 * @version v1.0
 * @author lianzuozheng
 * @date 2019-03-24 -22:09 
 */
@Controller("studentController")
public class StudentController {

    @Resource(name="studentService")
    private StudentService studentService;

    public void setStudentService(StudentService studentService) {
        this.studentService = studentService;
    }

    public void save(){
        studentService.save();
        System.out.println("studentController save ");
    }

}
